az ml computetarget attach
Note
This reference is part of the azure-cli-ml extension for the Azure CLI (version 2.0.28 or higher). The extension will automatically install the first time you run an az ml computetarget attach command. Learn more about extensions.
Attach subgroup commands.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ml computetarget attach aks |
Attach an AKS cluster to the workspace. |
Extension | GA |
az ml computetarget attach kubernetes |
Attach a KubernetesCompute as a compute target to the workspace. |
Extension | GA |
az ml computetarget attach remote |
Attach a remote machine without Docker as a compute target to the workspace. |
Extension | GA |
az ml computetarget attach aks
Attach an AKS cluster to the workspace.
az ml computetarget attach aks --compute-resource-id
--name
[--resource-group]
[--workspace-name]
Required Parameters
Resource ID of the compute object to attach to the workspace.
Specifies the compute target name. Must be unique to the workspace.
Optional Parameters
Resource group corresponding to the provided workspace. A default value for all commands can be set by running "az configure --defaults group=". This parameter will override any set default.
Name of the workspace to create this compute target under. A default value for all commands can be set by running "az configure --defaults workspace_name=". This parameter will override any set default.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml computetarget attach kubernetes
Attach a KubernetesCompute as a compute target to the workspace.
az ml computetarget attach kubernetes --compute-resource-id
--name
[--namespace]
[--resource-group]
[--workspace-name]
Required Parameters
Resource ID of the compute object to attach to the workspace.
Specifies the compute target name. Must be unique to the workspace.
Optional Parameters
The Kubernetes namespace to which workloads for the compute target are submitted.
Resource group corresponding to the provided workspace. A default value for all commands can be set by running "az configure --defaults group=". This parameter will override any set default.
Name of the workspace to create this compute target under. A default value for all commands can be set by running "az configure --defaults workspace_name=". This parameter will override any set default.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml computetarget attach remote
Attach a remote machine without Docker as a compute target to the workspace.
az ml computetarget attach remote --address
--name
--ssh-port
--username
[--password]
[--private-key-file]
[--private-key-passphrase]
[--resource-group]
[--workspace-name]
Required Parameters
DNS name or IP address of the target.
Specifies the compute target name. Must be unique to the workspace.
Ssh port that can be use to connect to the compute.
The username for the remote machine being attached. Must also provide either a password or public and private key files.
Optional Parameters
The password for the remote machine being attached. Must either provide a password or public and private key files.
Path to a file containing the private key information for the remote machine being attached.
Passphrase for private key specified with the --private-key-file option.
Resource group corresponding to the provided workspace. A default value for all commands can be set by running "az configure --defaults group=". This parameter will override any set default.
Name of the workspace to create this compute target under. A default value for all commands can be set by running "az configure --defaults workspace_name=". This parameter will override any set default.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI